#ifndef __CRCLIB_H__
#define __CRCLIB_H__

#include "vxWorks.h"

UINT8 crc4_itu(UINT8 *data, UINT16 length);
UINT8 crc5_epc(UINT8 *data, UINT16 length);
UINT8 crc5_itu(UINT8 *data, UINT16 length);
UINT8 crc5_usb(UINT8 *data, UINT16 length);
UINT8 crc6_itu(UINT8 *data, UINT16 length);
UINT8 crc7_mmc(UINT8 *data, UINT16 length);
UINT8 crc8(UINT8 *data, UINT16 length);
UINT8 crc8_itu(UINT8 *data, UINT16 length);
UINT8 crc8_rohc(UINT8 *data, UINT16 length);
UINT8 crc8_maxim(UINT8 *data, UINT16 length);
UINT16 crc16_ibm(UINT8 *data, UINT16 length);
UINT16 crc16_maxim(UINT8 *data, UINT16 length);
UINT16 crc16_usb(UINT8 *data, UINT16 length);
UINT16 crc16_modbus(UINT8 *data, UINT16 length);
UINT16 crc16_ccitt(UINT8 *data, UINT16 length);
UINT16 crc16_ccitt_false(UINT8 *data, UINT16 length);
UINT16 crc16_x25(UINT8 *data, UINT16 length);
UINT16 crc16_xmodem(UINT8 *data, UINT16 length);
UINT16 crc16_dnp(UINT8 *data, UINT16 length);
UINT32 crc32(UINT8 *data, UINT16 length);
UINT32 crc32_mpeg_2(UINT8 *data, UINT16 length);
UINT16 CRC16_custom(UINT8 *data, UINT32 datalen);


#endif
